﻿using WorkflowCore.Interface;
using WorkflowCore.Models;

namespace WorkflowCore.Console.Steps;

public class EndStep : IStepBody
{
    public async Task<ExecutionResult> RunAsync(IStepExecutionContext context)
    {
        await Task.Run(() => System.Console.WriteLine("End Step"));
        return ExecutionResult.Next();
    }
}
